﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace GGetTestService.Dto.Student
{
    public class StudentAddDto
    {
        [MaxLength(250)]
        [Required(ErrorMessage ="{0}为必填项")]
        public string Name { get; set; }

        public int Age { get; set; }

        public Guid? TeacherId { get; set; }

    }
}
